package com.jic.manager.mapper;

import com.jic.manager.entity.PublicnumType;
import com.jic.conf.request.PublicNumTypeRequest;
import com.jic.conf.response.PublicNumTypeResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 公众号类型
 * @author : 
 * @email : 
 * @since : 2020-02-16 01:49:12
 * @version : v1.0.0
 */
@Mapper
public interface  PublicnumTypeMapper {

    long insert(PublicNumTypeRequest publicNumTypeRequest);

    long delete(PublicnumType id);

    long update(PublicNumTypeRequest publicNumTypeRequest);

    PublicnumType queryByPrimaryKey(Long id);

    List<PublicnumType> query(PublicnumType publicnumType);

    List<PublicNumTypeResponse> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("publicnumType") PublicnumType publicnumType);

    long queryPageCount(PublicnumType publicnumType);
}